intltool: drop package
authorGeorge Sapkin <[email protected]>
Sun, 27 Apr 2025 13:27:53 +0000 (16:27 +0300)
committerJosef Schlehofer <[email protected]>
Tue, 23 Sep 2025 11:11:55 +0000 (13:11 +0200)
- unmaintained upstream
- drop confirmed
- last local commit:
  commit: cea49c620dbd53e79d206d0eba7f0dbce92e2d2f
  Author: Ansuel Smith <[email protected]>
  Date:   Wed, 7 Aug 2019 13:42:26 +0200

  intltool: fix broken compile on WSL

Link: https://github.com/openwrt/packages/pull/26400#issuecomment-2840303503
Signed-off-by: George Sapkin <[email protected]>
libs/intltool/Makefile [deleted file]
libs/intltool/patches/100-optional-perl-xml-parser.patch [deleted file]
libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch [deleted file]

diff --git a/libs/intltool/Makefile b/libs/intltool/Makefile
deleted file mode 100644 (file)
index 244f599..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=intltool
-PKG_VERSION:=0.51.0
-PKG_RELEASE:=3
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://launchpad.net/intltool/trunk/$(PKG_VERSION)/+download
-PKG_HASH:=67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
-PKG_MAINTAINER:=Ted Hess <[email protected]>
-
-
-HOST_BUILD_DEPENDS:=perl/host
-PKG_HOST_ONLY:=1
-HOST_FIXUP:=autoreconf
-
-include $(INCLUDE_DIR)/host-build.mk
-include $(INCLUDE_DIR)/package.mk
-
-HOST_CONFIGURE_VARS+= \
-        PATH="$(STAGING_DIR_HOSTPKG)/bin:$(STAGING_DIR_HOSTPKG)/usr/bin:$(PATH)"
-
-define Package/intltool
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=set of tools to centralize translation using GNU gettext
-  URL:=https://www.freedesktop.org/wiki/Software/intltool
-  BUILDONLY:=1
-endef
-
-define Package/intltool/description
-  intltool is a set of tools to centralize translation of many different
-  file formats using GNU gettext-compatible PO files.
-endef
-
-$(eval $(call BuildPackage,intltool))
-$(eval $(call HostBuild))
diff --git a/libs/intltool/patches/100-optional-perl-xml-parser.patch b/libs/intltool/patches/100-optional-perl-xml-parser.patch
deleted file mode 100644 (file)
index 32474ba..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -27,7 +27,7 @@ AC_MSG_CHECKING([for XML::Parser])
- if `$PERL -e "require XML::Parser" 2>/dev/null`; then
-    AC_MSG_RESULT([ok])
- else
--   AC_MSG_ERROR([XML::Parser perl module is required for intltool])
-+   AC_MSG_RESULT([XML::Parser perl module is required for intltool])
- fi
- AC_PATH_PROG(BZR, bzr)
---- a/intltool.m4
-+++ b/intltool.m4
-@@ -148,7 +148,7 @@ if test "x$2" != "xno-xml"; then
-    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
-        AC_MSG_RESULT([ok])
-    else
--       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
-+       AC_MSG_RESULT([XML::Parser perl module is required for intltool])
-    fi
- fi
diff --git a/libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch b/libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch
deleted file mode 100644 (file)
index 097c511..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-https://bugs.launchpad.net/intltool/+bug/1490906
-
-fix warnings w/newer perl:
-Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/bin/intltool-update line 1065.
-
---- a/intltool-update.in
-+++ b/intltool-update.in
-@@ -1062,7 +1062,7 @@
-       }
-     }
--    if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/)
-+    if ($str =~ /^(.*)\$\{?([A-Z_]+)}?(.*)$/)
-     {
-       my $rest = $3;
-       my $untouched = $1;
-@@ -1190,10 +1190,10 @@
-       $name    =~ s/\(+$//g;
-       $version =~ s/\(+$//g;
--      $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
--      $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
--      $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
--      $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
-+      $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
-+      $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
-+      $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
-+      $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
-     }
-     if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m)
-@@ -1219,11 +1219,11 @@
-       $version =~ s/\(+$//g;
-         $bugurl  =~ s/\(+$//g if (defined $bugurl);
--      $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
--      $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
--      $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
--      $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
--        $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/);
-+      $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
-+      $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
-+      $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
-+      $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
-+        $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+}?/);
-     }
-     # \s makes this not work, why?